<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('member', 'header'); ?>

            <aside class="right-side" id="mainbody">
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                       
                        <small> <a href="<?php echo siteurl($siteid);?>">首页</a>>><?php echo catpos($catid);?> 用户管理</small>
                    </h1>
                    <!--<ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> <?php echo catpos($catid);?></a></li>
                        <li class="active">列表</li>
                    </ol>-->
                </section>

                <!-- Main content -->
                <section class="content">
			
			
	<div id="memberArea">
<?php include template('member', 'account_manage_left'); ?>
<div class="col-auto col-md-9 col-xs-9">
	<div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title"><?php echo L('memberinfo');?>：</h3>
              </div>
              <div class="panel-body">
                <div class="panel panel-default">
	              
	              <div class="panel-body">
	                	<div class="col-md-2">
	                		<a title="<?php echo L('modify').L('avatar');?>" href="index.php?m=member&c=index&a=account_manage_avatar&t=1"><img src="<?php echo $avatar['90'];?>" width="60" height="60" onerror="this.src='<?php echo $phpsso_api_url;?>/statics/images/member/nophoto.gif'"></a>
	                	</div>
	                	<div class="col-md-10">
	                		<div class="row">
	                			<h5><?php if($memberinfo['vip']) { ?><img src="<?php echo IMG_PATH;?>icon/vip.gif"><?php } elseif ($memberinfo['overduedate']) { ?><img src="<?php echo IMG_PATH;?>icon/vip-expired.gif" title="<?php echo L('overdue');?>，<?php echo L('overduedate');?>：<?php echo format::date($memberinfo['overduedate'],1);?>"><?php } ?>
									<font color="<?php echo $grouplist[$memberinfo['groupid']]['usernamecolor'];?>">
									<?php if($memberinfo['nickname']) { ?> <?php echo $memberinfo['nickname'];?> <?php } else { ?> <?php echo $memberinfo['username'];?><?php } ?> 
									</font>
									<?php if($memberinfo['email']) { ?>（<?php echo $memberinfo['email'];?>）<?php } ?>
	                			</h5>
	                		</div>
	                		<div class="row">
	                			<?php echo L('member_group');?>：<?php echo $grouplist[$memberinfo['groupid']]['name'];?>
								<!--<?php echo L('account_remain');?>：<font style="color:#F00; font-size:22px;font-family:Georgia,Arial; font-weight:700"><?php echo $memberinfo['amount'];?></font> <?php echo L('unit_yuan');?>，
								<?php echo L('point');?>：<font style="color:#F00; font-size:12px;font-family:Georgia,Arial; font-weight:700"><?php echo $memberinfo['point'];?></font> <?php echo L('unit_point');?><?php if($memberinfo['vip']) { ?>，vip<?php echo L('overduedate');?>：<font style="color:#F00; font-size:12px;font-family:Georgia,Arial; font-weight:700"><?php echo format::date($memberinfo['overduedate']);?></font><?php } ?>
								-->
	                		</div>
	                	</div>
	              </div>
    			</div>
    			
    			<div class="panel panel-default">
              <div class="panel-heading"><?php echo L('more_configuration');?>：</div>
              <table class="table">
               
                <tbody>
                 	<tr>
						<th width="120"><?php echo L('username');?></th>        
						<td><?php echo $memberinfo['username'];?></td>
					</tr>
               		<tr>
						<th width="120"><?php echo L('in_model');?>：</th>        
						<td><?php echo $member_model[$memberinfo['modelid']]['name'];?></td>
					</tr>
					<tr>
						<th width="120"><?php echo L('regtime');?>：</th>        
						<td><?php echo FORMAT::date($memberinfo['regdate'] ,1);?></td>
					</tr>
					<tr>
						<th width="120"><?php echo L('lastlogintime');?>：</th>        
						<td><?php echo FORMAT::date($memberinfo['lastdate'] ,1);?></td>
					</tr>
					<tr>
						<th width="120"><?php echo L('regip');?>：</th>        
						<td><?php echo $memberinfo['regip'];?></td>
					</tr>
					<tr>
						<th width="120"><?php echo L('lastip');?>：</th>        
						<td><?php echo $memberinfo['lastip'];?></td>
					</tr>
					<!--<tr>
						<th width="120"><?php echo L('mp');?>：</th>        
						<td style="color:#ff6600;"><strong><?php if($memberinfo['mobile']) { ?><?php echo substr($memberinfo['mobile'],0,3);?>****<?php echo substr($memberinfo['mobile'],-4);?><?php } ?></strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="更换手机" class="button" onclick="redirect('?m=member&c=index&a=account_change_mobile&t=1')"></td>
					</tr>-->
					<?php $n=1; if(is_array($member_modelinfo)) foreach($member_modelinfo AS $k => $v) { ?>
					<tr>
						<th width="120"><?php echo $k;?>：</th>        
						<td><?php echo $v;?></td>
					</tr>
					<?php $n++;}unset($n); ?>
                </tbody>
              </table>
            </div>
              </div>
    </div>

</div>
<div class="clear"></div>
<!--<?php include template('member', 'footer'); ?>-->		
			
			
			
			

                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->

        <!-- add new calendar event modal -->


    </body>
</html>

